﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Ajax_cookie : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        HttpContext.Current.Response.Cookies["WorkDailyEmployee"].Value = "1<zz1>18,25,31,24,15,24+1,2<zz1>18<zz1>36<zz2>2<zz1>8,25,31,24,15,24+1,2<zz1>18<zz1>36";
        HttpContext.Current.Response.Cookies["WorkDailyEmployee"].Expires = DateTime.Now.AddYears(1);

        if (HttpContext.Current.Request.Cookies["WorkDailyEmployee"] == null || String.IsNullOrEmpty(HttpContext.Current.Request.Cookies["WorkDailyEmployee"].Value))
        {
            string thisCookies = HttpContext.Current.Request.Cookies["WorkDailyEmployee"].Value;
        }
    }
}